package com.admin.entity;

import com.admin.sys.base.module.extend.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
*【预约信息】实体对象
*/

@TableName("apply")
public class Apply extends BaseEntity {
    /*** 主键id */
    private String id;
    /*** 预约号 */
    private String applyCode;
    /*** 预约人 */
    private String registerId;
    /*** 预约科室 */
    private String officeId;
    /*** 医生姓名 */
    private String userId;
    /*** 预约日期 */
    private Date applyDate;
    /*** 预约日期 范围查询*/
    @TableField(exist = false)
    private List<String> applyDateRange;
    /*** 预约时间 */
    private Date applyTime;
    /*** 预约时间 范围查询*/
    @TableField(exist = false)
    private List<String> applyTimeRange;
    /*** 预约状态 */
    private Integer applyStatus;
    /*** 预约状态 范围查询*/
    @TableField(exist = false)
    private Integer[] applyStatusRange;
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getApplyCode() {
        return this.applyCode;
    }
    public void setApplyCode(String applyCode) {
        this.applyCode = applyCode;
    }
    public String getRegisterId() {
        return this.registerId;
    }
    public void setRegisterId(String registerId) {
        this.registerId = registerId;
    }
    public String getOfficeId() {
        return this.officeId;
    }
    public void setOfficeId(String officeId) {
        this.officeId = officeId;
    }
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public Date getApplyDate() {
        return this.applyDate;
    }
    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }
    public List<String> getApplyDateRange(){
        return this.applyDateRange;
    }
    public void setApplyDateRange(List<String> applyDateRange){
        this.applyDateRange = applyDateRange;
    }
    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT+8")
    public Date getApplyTime() {
        return this.applyTime;
    }
    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }
    public List<String> getApplyTimeRange(){
        return this.applyTimeRange;
    }
    public void setApplyTimeRange(List<String> applyTimeRange){
        this.applyTimeRange = applyTimeRange;
    }
    public Integer getApplyStatus() {
        return this.applyStatus;
    }
    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }
    public Integer[] getApplyStatusRange(){
        return this.applyStatusRange;
    }
    public void setApplyStatusRange(Integer[] applyStatusRange){
        this.applyStatusRange = applyStatusRange;
    }
}